package com.example.blog.common.pojo.dataobject;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.time.LocalDate;

@Data
public class UserInfo {
    //自动自增
    @TableId(value="id",type= IdType.AUTO)
    private Integer id;
    private String userName;
    private String password;
    private String githubUrl;
    private Integer deleteFlag;
    //LocalDate:只有日期
    //LocalDateTime既有日期又有时间
    //Date:会有区时
    private LocalDate createTime;
    private LocalDate updateTime;
}
